package org.yoyo.classroom.mapper;



import org.apache.ibatis.annotations.Mapper;
import org.yoyo.classroom.domain.po.Post;

import java.util.List;

@Mapper
public interface PostMapper {
    List<Post> findPosts(int offset, int size);
    void insertPost(Post post);
    Post findPostById(int id);
}